const { defineConfig } = require('@vue/cli-service')
const path = require('path')

const name = process.env.VUE_APP_TITLE || '校园预约挂号系统' // 网页标题

function resolve (dir) {
  return path.join(__dirname, dir)
}

module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  configureWebpack: {
    name: name,
    resolve: {
      alias: {
        '@': resolve('src')
      }
    }
  }
})
